@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  src: url(https://gstatic.loli.net/s/materialicons/v36/flUhRq6tzZclQEJ-Vdg-IuiaDsNa.woff) format("woff");
}

@font-face {
  font-family: 'iconfont';
  /* project id 591103 */
  src: url('//at.alicdn.com/t/font_591103_yrfdyhieco6flxr.eot');
  src: url('//at.alicdn.com/t/font_591103_yrfdyhieco6flxr.eot?#iefix') format('embedded-opentype'), url('//at.alicdn.com/t/font_591103_yrfdyhieco6flxr.woff') format('woff'), url('//at.alicdn.com/t/font_591103_yrfdyhieco6flxr.ttf') format('truetype'), url('//at.alicdn.com/t/font_591103_yrfdyhieco6flxr.svg#iconfont') format('svg');
}

/* 颜色 */

$colorPrimary:rgb(76,
216,
100);
// .material-icons {
//   font-family: "Material Icons", sans-serif;
//   font-weight: normal;
//   font-style: normal;
//   font-size: 24px;
//   line-height: 1;
//   letter-spacing: normal;
//   text-transform: none;
//   display: inline-block;
//   white-space: nowrap;
//   word-wrap: normal;
//   direction: ltr;
//   -webkit-font-feature-settings: "liga";
//   -webkit-font-smoothing: antialiased;
//   &.material-icons-block {
//     display: block;
//   }
// }
.icon {
  font-family: 'iconfont', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}

html {
  height: 100%;
}

body {
  height: 100%;
  width: 100%;
  font-size: 14px;
  color: #333;
  font-family: "STHeiti", "Microsoft YaHei", Helvetica, Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
  background-color: #f0f0f0;
  overflow: hidden;
}

a {
  text-decoration: none;
}

* {
  margin: 0;
  padding: 0;
}

.yd-flexview {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #eee;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);
}

/* 导航栏icon */

.page-container {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  height: 100%;
  ;
}

.refresh-container {
  width: 256px;
  height: 300px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #d9d9d9;
  position: relative;
  user-select: none;
}

.app-icon {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.full {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.tab-container {
  display: block;
  position: relative;
  overflow: hidden;
}

.tab-container-wrap {
  display: flex;
  height: 100%;
  &.tab-container-wrap--animated {
    transition-property: all;
    transition-delay: 0;
    transition-timing-function: ease-in-out;
  }
}

.tab-container-item {
  flex-shrink: 0;
  width: 100%;
  overflow: hidden;
}

.yd-tab-scroll {
  .yd-tab-nav {
    overflow-x: auto;
    display: flex;
    .yd-tab-nav-item {
      flex-shrink: 0;
      flex: none;
      width: auto;
      padding: 0 0.4rem;
      line-height: 1rem;
    }
  }
}

/* 
  过度动画
*/

/* 可以设置不同的进入和离开动画 */

/* 设置持续时间和动画函数 */

.fade-enter-active {
  transition: all 0.1s ease;
}

.fade-leave-active {
  transition: all 0.8s cubic-bezier(1, 0.5, 0.8, 1);
}

.fade-enter,
.slide-fade-leave-to
/* .slide-fade-leave-active for below version 2.1.8 */

  {
  //transform: translateX(10px);
  opacity: 0;
}

/* 页面离开 */

.slide-right-enter {
  transform: scale(0.9);
  filter: brightness(0.6);
}

.slide-right-enter-active {
  transition: all 0.2s ease;
}

.slide-right-enter-to {
  transform: scale(1);
  filter: brightness(1);
}

.slide-right-leave {
  transform: translate3d(0, 0, 0);
}

.slide-right-leave-active {
  transition: all 0.4s ease;
  z-index: 2;
}

.slide-right-leave-to {
  transform: translate3d(7.5rem, 0, 0);
}

/* 页面进入滑动切换 */

.slide-left-enter {
  transform: translate3d(7.5rem, 0, 0);
}

.slide-left-enter-active {
  transition: all 0.4s ease;
}

.slide-left-enter-to {
  transform: translate3d(0, 0, 0);
}

.slide-left-leave {
  transform: scale(1);
  filter: brightness(1);
}

.slide-left-leave-active {
  transition: all 0.4s ease;
}

.slide-left-leave-to {
  transform: scale(0.9);
  filter: brightness(0.6);
}

.banner-img {
  width: 7.5rem;
  height: 2.5rem;
  display: block;
}

.text-ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.text-ellipsis--line2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.text-ellipsis--line3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* 边距 */

.mb-1 {
  margin-bottom: .1rem;
}

.mb-2 {
  margin-bottom: .2rem;
}

.link {}

.section {
  padding: .2rem;
  background-color: #fff;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 16px;
  line-height: .8rem;
  padding: 0 .1rem;
  border-bottom: 1px solid #eee;
}

.yd-scrollview--nonebottom .yd-scrollview:after {
  display: none;
}

.daily-item {
  display: flex;
  background-color: #fff;
  padding: 10px;
  margin-bottom: 5px;
  .daily-item-content {
    flex: 1;
  }
  .daily-item-action {
    display: flex;
    align-items: center;
    padding: 0 0 0 20px;
    .yd-checkbox-text {
      display: none;
    }
    .yd-checkbox {}
  }
  .daily-item--title {
    font-size: 16px;
    border-bottom: 1px solid #eee;
    margin-bottom: 4px;
    padding: 0 0 4px;
  }
  .daily-item--detail {
    font-size: 12px;
    color: #666;
    margin: 0 0 4px;
    >span {
      display: inline-block;
      margin-right: 4px;
      vertical-align: middle;
    }
  }
  .daily-item--bottom {
    font-size: 12px;
  }
}

.list-table {
  background-color: #fff;
  width: 100%;
  border-left: 1px solid #c0c0c0;
  border-top: 1px solid #c0c0c0;
  font-size: 12px;
  td,
  th {
    padding: 8px 0;
    border-right: 1px solid #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
    text-align: center;
  }
  th {
    background-color: #e0e0e0;
  }
}

.staff-list-item {
  display: flex;
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  line-height: 1;
  padding: 20px 10px;
  .name,
  .spec,
  .time {
    flex: 1;
  }
}